dispatchCreateOptionsMenu
open fun dispatchCreateOptionsMenu(@NonNull menu: Menu, @NonNull inflater: MenuInflater): Boolean(source)
Deprecated
Have your FragmentHostCallback implement MenuHost to automatically dispatch menu changes to fragments.
Lets all Fragments managed by the controller's FragmentManager know they should create an options menu.
Call when the Fragment should create an options menu.
Return
true
if the options menu contains items to display